package com.xps.charmingshop.bean;

import java.util.List;

/**
 * Created by MI on 2018/1/25.
 */

public class MenuBean {


    /**
     * return_code : SUCCESS
     * return_msg : 获取成功
     * return_body : [{"sort_name":"面类","dish_info":[{"dish_id":1,"dish_pic_src":"public/dish_image/1.jpg","dish_name":"炸酱面","dish_price":"12","dish_sales":204,"dish_time":"1513587404"},{"dish_id":4,"dish_pic_src":"public/dish_image/1.jpg","dish_name":"勾魂板面","dish_price":"11","dish_sales":27,"dish_time":"1513587404"},{"dish_id":13,"dish_pic_src":"upload/dish_image/a.jpg","dish_name":"鸭锁骨","dish_price":"3800","dish_sales":15,"dish_time":"1516765688"}]},{"sort_name":"主食","dish_info":[{"dish_id":2,"dish_pic_src":"public/dish_image/1.jpg","dish_name":"水饺","dish_price":"35","dish_sales":26,"dish_time":"1513587760"},{"dish_id":5,"dish_pic_src":"public/dish_image/1.jpg","dish_name":"黄焖大虾","dish_price":"128","dish_sales":11,"dish_time":"1513583404"},{"dish_id":11,"dish_pic_src":"upload/dish_image/a.jpg","dish_name":"葱爆鱿鱼","dish_price":"36","dish_sales":0,"dish_time":"1516181122"}]},{"sort_name":"各种炒菜","dish_info":[{"dish_id":3,"dish_pic_src":"public/dish_image/1.jpg","dish_name":"鱼香土豆丝","dish_price":"21","dish_sales":23,"dish_time":"1513587404"},{"dish_id":6,"dish_pic_src":"public/dish_image/1.jpg","dish_name":"宫保鸡丁","dish_price":"18","dish_sales":12,"dish_time":"1513587304"}]},{"sort_name":"热销","dish_info":[]}]
     */

    private String return_code;
    private String return_msg;
    private List<ReturnBodyBean> return_body;

    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public List<ReturnBodyBean> getReturn_body() {
        return return_body;
    }

    public void setReturn_body(List<ReturnBodyBean> return_body) {
        this.return_body = return_body;
    }

    public static class ReturnBodyBean {
        /**
         * sort_name : 面类
         * dish_info : [{"dish_id":1,"dish_pic_src":"public/dish_image/1.jpg","dish_name":"炸酱面","dish_price":"12","dish_sales":204,"dish_time":"1513587404"},{"dish_id":4,"dish_pic_src":"public/dish_image/1.jpg","dish_name":"勾魂板面","dish_price":"11","dish_sales":27,"dish_time":"1513587404"},{"dish_id":13,"dish_pic_src":"upload/dish_image/a.jpg","dish_name":"鸭锁骨","dish_price":"3800","dish_sales":15,"dish_time":"1516765688"}]
         */

        private String sort_name;
        private List<DishInfoBean> dish_info;

        public String getSort_name() {
            return sort_name;
        }

        public void setSort_name(String sort_name) {
            this.sort_name = sort_name;
        }

        public List<DishInfoBean> getDish_info() {
            return dish_info;
        }

        public void setDish_info(List<DishInfoBean> dish_info) {
            this.dish_info = dish_info;
        }

        public static class DishInfoBean {
            /**
             * dish_id : 1
             * dish_pic_src : public/dish_image/1.jpg
             * dish_name : 炸酱面
             * dish_price : 12
             * dish_sales : 204
             * dish_time : 1513587404
             */

            private String dish_id;
            private String dish_pic_src;
            public String dish_name;
            private String dish_price;
            private String dish_sales;
            private String dish_time;

            public String getDish_id() {
                return dish_id;
            }

            public void setDish_id(String dish_id) {
                this.dish_id = dish_id;
            }

            public String getDish_pic_src() {
                return dish_pic_src;
            }

            public void setDish_pic_src(String dish_pic_src) {
                this.dish_pic_src = dish_pic_src;
            }

            public String getDish_name() {
                return dish_name;
            }

            public void setDish_name(String dish_name) {
                this.dish_name = dish_name;
            }

            public String getDish_price() {
                return dish_price;
            }

            public void setDish_price(String dish_price) {
                this.dish_price = dish_price;
            }

            public String getDish_sales() {
                return dish_sales;
            }

            public void setDish_sales(String dish_sales) {
                this.dish_sales = dish_sales;
            }

            public String getDish_time() {
                return dish_time;
            }

            public void setDish_time(String dish_time) {
                this.dish_time = dish_time;
            }
        }
    }
}
